<?php

namespace app\index\controller;

use app\common\library\notice\Sms;
use think\Controller;
use Predis\Client;
use think\Queue;

class Index extends Controller
{
    public function index()
    {
        /* $res = Queue::push('app\common\queue\Task@fire',['name' => '张三','task' => '1111'],'test');
        halt($res); */
        //$res = Sms::sendCode('login','15982332906');
        $res = Sms::checkCode('login','15982332906','29660');
        halt($res);
    }
}
